package test0;

/**
 * @author cjx
 * @create 2024/06/04
 * @description
 */
public class Tianyuan extends Dog {
    public Tianyuan() {
    }

    public Tianyuan(String name, int age) {
        super.setName(name);
        super.setAge(age);
    }

    @Override
    public void lookhome () {
        System.out.println(this.getAge() + "岁的" + this.getName() + "是护院小能手");
    }
}
